
interface Inter {
	void show();
}

class Outer {

	public static Inter method() {
		Inter inter = new Inter() {
			@Override
			public void show() {
				System.out.println("Hello World");
			}
		};
		return inter;
	}
}

class OuterDemo {
	public static void main(String[] args) {
		Outer.method().show();
	}
}